home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Help / locale / help / english / sys / echo.doc < prev    next >
Encoding:
Text File  |  2000-10-06  |  1.2 KB  |  42 lines

  1. ECHO
  2.  
  3. Displays a string.
  4.  
  5. Format
  6.  
  7. ECHO [<string>] [NOLINE] [FIRST <n>] [LEN <n>] [TO <filename>]
  8.  
  9. Template
  10.  
  11. /M,LINE/S,FIRST/K/N,LEN/K/N,TO/K
  12.  
  13. Location
  14.  
  15. Internal
  16.  
  17. ECHO writes the specified string to the current output window or device. By
  18. default the string is sent to the screen, but if you use the TO option, you
  19. can send the string to any specified device or file.
  20.  
  21. When the NOLINE option is specified, ECHO does not automatically move the
  22. cursor to the next line after printing the string.
  23.  
  24. The FIRST and LEN options allow the echoing of a substring. FIRST <n>
  25. indicate the character position from which to begin the echo; LEN <n>
  26. indicates the number of characters of the substring to echo, beginning with
  27. the FIRST character. If the FIRST option is omitted and only the LEN keyword
  28. is given, the substring printed consists of the rightmost <n> characters of
  29. the main string. For example, if your string is 20 characters long and you
  30. specify LEN 4, the 17TH, 18th, 19th, and 20th characters of the string are
  31. echoed.
  32.  
  33. Examples:
  34.  
  35. 1> ECHO "hello out there!"
  36.  
  37. hello out there!
  38.  
  39. 1> ECHO "hello out there!" NOLINE FIRST 0 LEN 5 hello1>
  40.  
  41. For further examples using the ECHO command, see Chapter 8.
  42.